//
//  MineEventModel.m
//  Business Club
//
//  Created by 尹宁 on 16/4/19.
//  Copyright © 2016年 范琦. All rights reserved.
//

#import "MineEventModel.h"

@implementation MineEventModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.myId = value;
    }
    
    
}
- (void)setValue:(id)value forKey:(NSString *)key
{
    
    if ([key isEqualToString:@"user"]) {
        self.nickname = value[@"nickname"];
        self.company_name = value[@"company_name"];
        self.avatar = value[@"avatar"];
    }
    else{
        [super setValue:value forKey:key];
    }
    
}

@end
